/**
 * 
 */
package com.kunter.start;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;

import com.kunter.admin.eo.AdminUser;
import com.kunter.admin.service.AdminUserService;

/**
 * 启动加载
 * @author yangziran
 * @version 1.0 2015年12月29日
 */
public class StartRunner implements CommandLineRunner {

    @Autowired
    private AdminUserService adminUserService;

    @Override
    public void run(String... args) throws Exception {

        List<AdminUser> adminUserList = adminUserService.getList(null);
        System.out.println(adminUserList.size());
    }

}
